﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UI.Symmetrical
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void label2_Click(object sender, EventArgs e)
        {

        }

        private void textBoxDecrypt_TextChanged(object sender, EventArgs e)
        {

        }

        private void buttonEncrypt_Click(object sender, EventArgs e)
        {
            textBoxEncryptOutput.Text = Encoding.ASCII.GetString(Business.Crypto.Symmetrical.EncryptText(textBoxEncryptInput.Text,textBoxPassword.Text));
        }
    }
}
